// https://min.erkantv.cn:443/han/hanJuji

import {
	request
} from "@/utils/request.js";


// 模糊查询
export function searchByTitle(name, pageNum, pageSize) {
	return request({
		url: '/collection/search',
		data: {
			name: name,
			pageNum: pageNum,
			pageSize: pageSize

		}
	});

}


// 推荐热门
export function swiperimgsBanner(type, order) {
	return request({
		url: '/collection/orderLast',
		data: {
			pageNum: 1,
			pageSize: 6,
			type: type,
			order: order ,
			yesVideo : false
		}
	});

}